<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>Title</title>
    <script src="../jquery/jquery-3.2.1.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="../css/bootstrap.css">
</head>
<body>

    <div class="container">

        <form role="form">

            <div class="form-group has-success has-feedback">
                <label for="name">姓名</label>
                <input type="text" class="form-control" id="name">
                <span class="glyphicon glyphicon-ok form-control-feedback"></span>
            </div>

            <div class="form-group has-error has-feedback">
                <label for="pass">密码</label>
                <input type="text" class="form-control" id="pass">
                <span class="glyphicon glyphicon-remove form-control-feedback"></span>
            </div>

        </form>

    </div>

</body>
</html>